﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="EmployeesInfoStatistics.aspx.cs" Inherits="Employees_EmployeesInfoStatistics" %>

<%@ Register Assembly="Chartlet" Namespace="FanG" TagPrefix="cc1" %>
<%@ Register Src="../Control/DSelYearMonth.ascx" TagName="DSelYearMonth" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Titile" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="Server">
    <style>
        .Dv
        {
            overflow-x: auto;
            overflow-y: hidden;
            scrollbar-3dlight-color: #D4D0C8; /*- 最外左 -*/
            scrollbar-highlight-color: #fff; /*- 左二 -*/
            scrollbar-face-color: #E4E4E4; /*- 面子 -*/
            scrollbar-arrow-color: #666; /*- 箭头 -*/
            scrollbar-shadow-color: #808080; /*- 右二 -*/
            scrollbar-darkshadow-color: #D7DCE0; /*- 右一 -*/
            scrollbar-base-color: #D7DCE0; /*- 基色 -*/
            scrollbar-track-color: #; /*- 滑道 -*/
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="Server">
    <div class="tabsI" runat="server" id="MenuTabs">
        <ul>
            <li>
                <asp:HyperLink ID="sex" runat="server" NavigateUrl="EmployeesInfoStatistics.aspx?ItemParam=sex"
                    CssClass="UnHover"><span>员工人数统计</span></asp:HyperLink>
            </li>
            <li>
                <asp:HyperLink ID="age" runat="server" NavigateUrl="EmployeesInfoStatistics.aspx?ItemParam=age"
                    CssClass="UnHover"><span>年龄统计</span></asp:HyperLink>
            </li>
            <li>
                <asp:HyperLink ID="acc" runat="server" NavigateUrl="EmployeesInfoStatistics.aspx?ItemParam=acc"
                    CssClass="UnHover"><span>在职时间统计</span></asp:HyperLink>
            </li>
            <li>
                <asp:HyperLink ID="worktime" runat="server" NavigateUrl="EmployeesInfoStatistics.aspx?ItemParam=worktime"
                    CssClass="UnHover"><span>工龄统计</span></asp:HyperLink>
            </li>
            <li>
                <asp:HyperLink ID="edu" runat="server" NavigateUrl="EmployeesInfoStatistics.aspx?ItemParam=edu"
                    CssClass="UnHover"><span>学历统计</span></asp:HyperLink>
            </li>
            <li>
                <asp:HyperLink ID="title" runat="server" NavigateUrl="EmployeesInfoStatistics.aspx?ItemParam=title"
                    CssClass="UnHover"><span>职称统计</span></asp:HyperLink>
            </li>
            <li>
                <asp:HyperLink ID="empstatus" runat="server" NavigateUrl="EmployeesInfoStatistics.aspx?ItemParam=empstatus"
                    CssClass="UnHover"><span>人员状态统计</span></asp:HyperLink>
            </li>
        </ul>
    </div>
    <div style="float: right; margin: 5px;">
        统计时间：<% =DateTime.Now.ToString("yyyy-MM-dd") %></div>
    <div runat="server" id="General">
        <cc1:Chartlet ID="Chartlet1" runat="server" ChartType="Bar" Width="900px" Alpha3D="150"
            GroupSize="1" Height="400px" ImageFolder="../Image/Chartlet" ShowCopyright="False"
            AppearanceStyle="Bar_2D_Breeze_FlatCrystal_Glow_NoBorder" AutoBarWidth="True"
            Depth3D="15" Dimension="Chart3D" ImageBorder="0" InflateBottom="40" InflateLeft="20"
            RoundRectangle="True" />
    </div>
    <div runat="server" id="EmpStatusCount">
        <table cellpadding="10" style="width: 100%">
            <%-- <tr>
                <td style="width: 120px">
                    查询时间（年/月）：
                </td>
                <td style="width: 100px">
                    <uc1:DSelYearMonth ID="DSelYearMonth1" runat="server" />
                </td>
                <td style="width: 80px">
                    查询类型：
                </td>
                <td>
                </td>
                <td style="text-align: right">
                    <span class="roundbtn">
                        <asp:LinkButton ID="StatusSearchButton" runat="server" Text="&nbsp;&nbsp;&nbsp;&nbsp;查&nbsp;&nbsp;询&nbsp;&nbsp;&nbsp;&nbsp;"
                            OnClick="StatusSearchButton_Click"></asp:LinkButton>
                    </span>
                </td>
            </tr>--%>
            <tr>
                <td style="width:150px">
                    <fieldset title="选择日期" style="overflow: hidden">
                        <legend style="font-size: large; font-weight: bold">选择时间</legend>
                        <div style="padding: 10px">
                        年份：
                        <br />
                            <asp:TextBox ID="SelYear" runat="server" onfocus="WdatePicker({dateFmt:'yyyy'})" Width="100px" class="Wdate"/></asp:TextBox>
                          <%--  <asp:DropDownList ID="SelYear" runat="server">
                                <asp:ListItem Value="1996">1996</asp:ListItem>
                                <asp:ListItem Value="1997">1997</asp:ListItem>
                                <asp:ListItem Value="1998">1998</asp:ListItem>
                                <asp:ListItem Value="1999">1999</asp:ListItem>
                                <asp:ListItem Value="2000">2000</asp:ListItem>
                                <asp:ListItem Value="2001">2001</asp:ListItem>
                                <asp:ListItem Value="2002">2002</asp:ListItem>
                                <asp:ListItem Value="2003">2003</asp:ListItem>
                                <asp:ListItem Value="2004">2004</asp:ListItem>
                                <asp:ListItem Value="2005">2005</asp:ListItem>
                                <asp:ListItem Value="2006">2006</asp:ListItem>
                                <asp:ListItem Value="2007">2007</asp:ListItem>
                                <asp:ListItem Value="2008">2008</asp:ListItem>
                                <asp:ListItem Value="2009">2009</asp:ListItem>
                                <asp:ListItem Value="2010">2010</asp:ListItem>
                                <asp:ListItem Value="2011">2011</asp:ListItem>
                                <asp:ListItem Value="2012">2012</asp:ListItem>
                            </asp:DropDownList>--%>
                            <br />
                           月份：<br />
                             <asp:TextBox ID="SelMonth" runat="server" onfocus="WdatePicker({dateFmt:'M'})" Width="100px"  class="Wdate"/></asp:TextBox>
                         <%--   <asp:DropDownList ID="SelMonth" runat="server">
                                <asp:ListItem Value="0">—未选择—</asp:ListItem>
                                <asp:ListItem Value="1">1月</asp:ListItem>
                                <asp:ListItem Value="2">2月</asp:ListItem>
                                <asp:ListItem Value="3">3月</asp:ListItem>
                                <asp:ListItem Value="4">4月</asp:ListItem>
                                <asp:ListItem Value="5">5月</asp:ListItem>
                                <asp:ListItem Value="6">6月</asp:ListItem>
                                <asp:ListItem Value="7">7月</asp:ListItem>
                                <asp:ListItem Value="8">8月</asp:ListItem>
                                <asp:ListItem Value="9">9月</asp:ListItem>
                                <asp:ListItem Value="10">10月</asp:ListItem>
                                <asp:ListItem Value="11">11月</asp:ListItem>
                                <asp:ListItem Value="12">12月</asp:ListItem>
                            </asp:DropDownList>--%>
                        </div>
                    </fieldset>
                </td>
                <td rowspan="2" style="width:750px">
                    <div runat="server" id="Chart">
                        <cc1:Chartlet ID="EmpStatusPie" runat="server" ChartType="Pie" Width="700px" Alpha3D="150"
                            GroupSize="1" Height="400px" ImageFolder="../Image/Chartlet" ShowCopyright="False"
                            AppearanceStyle="Bar_2D_Breeze_NoCrystal_Glow_NoBorder" AutoBarWidth="True" Depth3D="15"
                            Dimension="Chart3D" ImageBorder="0" InflateBottom="50" InflateLeft="20" RoundRectangle="True"
                            InflateRight="40" LineConnectionType="None" />
                    </div>
                </td>
            </tr>
            <tr>
              <td style="width:150px">
                    <fieldset title="选择类型" style="overflow: hidden">
                        <legend style="font-size: large; font-weight: bold">选择类型</legend>
                        <div style="padding: 10px">
                            <asp:RadioButtonList ID="SelType" runat="server">
                                <asp:ListItem Value="1" Selected="True">总计</asp:ListItem>
                                <asp:ListItem Value="2">离职部门</asp:ListItem>
                                <asp:ListItem Value="3">离职原因</asp:ListItem>
                                <asp:ListItem Value="4">离职类型</asp:ListItem>
                                <asp:ListItem Value="5">入职部门</asp:ListItem>
                            </asp:RadioButtonList>
                        </div>
                    </fieldset>
                    <br />
                    <br />
                    <span class="roundbtn">
                        <asp:LinkButton ID="StatusSearchButton" runat="server" Text="&nbsp;&nbsp;&nbsp;&nbsp;查 询&nbsp;&nbsp;&nbsp;&nbsp;"
                            OnClick="StatusSearchButton_Click"></asp:LinkButton>
                    </span>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <cc1:Chartlet ID="EmpStatusBar" runat="server" ChartType="Bar" Width="900px" Alpha3D="150"
                        GroupSize="1" Height="400px" ImageFolder="../Image/Chartlet" ShowCopyright="False"
                        AppearanceStyle="Bar_3D_Breeze_FlatCrystal_NoGlow_NoBorder" AutoBarWidth="True"
                        Depth3D="15" Dimension="Chart3D" ImageBorder="0" InflateBottom="50" InflateLeft="20"
                        RoundRectangle="True" InflateRight="50" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
